<?php

require_once 'include/language_manager.inc.php';
Language_Manager::getInstance();

$meta["title"] = L::meta_home_title;
$meta["description"] = L::meta_home_description;
$meta["keywords"] = L::meta_home_keywords;

require "include/template_manager.inc.php";
$myTemplate = new Template_Manager('home', null, true, 1, $meta);
$myTemplate->setBodyContentString("alt_first", L::portfolio_first_alt);
$myTemplate->setBodyContentString("desc_first", L::portfolio_first_desc);

$myTemplate->setBodyContentString("alt_second", L::portfolio_second_alt);
$myTemplate->setBodyContentString("desc_second", L::portfolio_second_desc);

$myTemplate->setBodyContentString("alt_third", L::portfolio_third_alt);
$myTemplate->setBodyContentString("desc_third", L::portfolio_third_desc);

$myTemplate->setBodyContentString("alt_fourth", L::portfolio_fourth_alt);
$myTemplate->setBodyContentString("desc_fourth", L::portfolio_fourth_desc);

$myTemplate->setBodyContentString("alt_fifth", L::portfolio_fifth_alt);
$myTemplate->setBodyContentString("desc_fifth", L::portfolio_fifth_desc);

$myTemplate->setBodyContentString("alt_sixth", L::portfolio_sixth_alt);
$myTemplate->setBodyContentString("desc_sixth", L::portfolio_sixth_desc);

$myTemplate->setBodyContentString("alt_seventh", L::portfolio_seventh_alt);
$myTemplate->setBodyContentString("desc_seventh", L::portfolio_seventh_desc);

$myTemplate->setBodyContentString("alt_eighth", L::portfolio_eighth_alt);
$myTemplate->setBodyContentString("desc_eighth", L::portfolio_eighth_desc);

$myTemplate->setBodyContentString("alt_ninth", L::portfolio_ninth_alt);
$myTemplate->setBodyContentString("desc_ninth", L::portfolio_ninth_desc);

$myTemplate->setBodyContentString("alt_tenth", L::portfolio_tenth_alt);
$myTemplate->setBodyContentString("desc_tenth", L::portfolio_tenth_desc);

$myTemplate->setBodyContentString("alt_eleventh", L::portfolio_eleventh_alt);
$myTemplate->setBodyContentString("desc_eleventh", L::portfolio_eleventh_desc);

$myTemplate->setBodyContentString("alt_twelfth", L::portfolio_twelfth_alt);
$myTemplate->setBodyContentString("desc_twelfth", L::portfolio_twelfth_desc);

$myTemplate->setBodyContentString("label_article", L::label_article);

$myTemplate->setSectionContentSlides();

if (getLanguage() == "it") {
    $prefix = "";
} else {
    $prefix = "/en";
}
$myTemplate->setCanonicalUrl($prefix . "");
